#ifndef __EVENT_H__
#define __EVENT_H__

#include <types.h>
#include <queue.h>

#include <sys/unistd.h>

struct event {
    queue_t waitq;
    char *name;
};

int event_init(event_t *, const char *);
int event_waiting(event_t *);

#endif	/* __EVENT_H__ */
